package com.example.task02_factory;

import com.example.task02_dao.UserDao;
import com.example.task02_dao.UserDaoImp;

public class UserDaoFactory {

    //通过静态工厂方法模式来实现UserDao实现类对象的创建并返回
    public static UserDao getUserDao(){
        return new UserDaoImp();
    }
}
